package cn.codeinn.service1.controller;

import cn.codeinn.common.util.RS;
import cn.codeinn.service1.service.LambdaService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@RequestMapping(value = "/lambda")
public class LambdaController {

    @Resource
    private LambdaService lambdaService;

    @GetMapping(value = "test")
    public RS test() {
        lambdaService.test1();
        return RS.ok();
    }
}
